package com.yanqu.road.server.manger.player.task;

import com.yanqu.road.server.manger.player.TradeWarMgr;
import com.yanqu.road.utils.executor.GeneralTask;

public class ChangeTradeWarScoreTask extends GeneralTask {
    private long userId;
    private int addScore;

    public ChangeTradeWarScoreTask(long userId, int addScore) {
        this.userId = userId;
        this.addScore = addScore;
    }

    @Override
    public void doRun() {
        TradeWarMgr.changeTradeWarScore(userId, addScore);
    }
}
